export const formItems = [
  {
    prop: "order_sn",
    label: "订单号",
    placeholder: "请输入订单号",
    lg: 6,
    otherOptions: {},
  },
  {
    prop: "type",
    label: "类型",
    type: "select",
    options: [],
    placeholder: "请选择",
    lg: 6,
    filterable: true,
    key: "value",
    value: "label",
    options: [
      {
        label: "加款",
        value: 1,
      },
      {
        label: "扣款",
        value: 2,
      },
      //   {
      //     label: "提现",
      //     value: 2,
      //   },
    ],
  },
  {
    prop: "created_at",
    label: "创建时间",
    lg: 10,
    type: "datetimerange",
    valueFormat: "x",
    otherOptions: {
      defaultTime: [
        new Date(2000, 1, 1, 0, 0, 0),
        new Date(2000, 1, 1, 23, 59, 59),
      ],
    },
  },
];
export const propList = [
  {
    label: "订单号",
    prop: "order_sn",
  },
  {
    label: "类型",
    slotName: "type",
    width: "128px",

    // prop: 'type'
  },

  {
    label: "变动金额",
    prop: "money",
    width: "128px",
  },
  {
    label: "变动前",
    prop: "bf_money",
    width: "128px",
  },
  {
    label: "变动后",
    prop: "af_money",
    width: "128px",
  },
  {
    label: "下单来源",
    prop: "account.nick_name",
    width: "128px",
  },
  {
    label: "备注",
    prop: "remark",
    // width: "128px",
  },
  {
    label: "创建时间",
    prop: "created_at",
    // width: "160",
  },
  {
    label: "修改时间",
    prop: "updated_at",
    // width: "160",
  },
];
